4D Chart v13

CT SET LINE ATTRIBUTES

Home

 
4D Chart v13
CT SET LINE ATTRIBUTES

CT SET LINE ATTRIBUTES 


 

CT SET LINE ATTRIBUTES ( area ; scope ; pattern ; color ; lineWidth ) 
Parameter Type   Description
area  Longint in 4D Chart area
scope  Longint in Scope of the command -2 = Default -1 = All 0 = Selected objects >0 = Object ID
pattern  Integer in Pattern (0 to 36) -1 = No change
color  Longint in Color value -1 = No change
lineWidth  Real in Line width (in points) -1 = No change

The CT SET LINE ATTRIBUTES command changes the line attributes for the object(s) in area described by scope. For objects other than lines, the line attributes apply to the object’s border.

pattern is the number of the pattern in the palette. Codes for the pattern parameter are as follows:

color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions.

lineWidth is the width of the line, measured in points.

Note: Use this command to set the attributes of lines added to the document using the Line tool or the CT Draw line function. To set the attributes of chart lines, such as grid lines, use the commands in the Chart theme.

Example  

This example sets the selected object’s line attributes to solid, blue, 3 points.

 
PROPERTIES 

Product: 4D Chart
Theme: CT Objects
Number: 14571

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET LINE ATTRIBUTES
CT SET CHART LINE ATTRIBUTES
CT SET LINES ATTRIBUTES